<?php

namespace App\Requests\Api\Employees;

use Illuminate\Foundation\Http\FormRequest;

/**
 * 用户列表校验
 * Class ListReques
 * @package App\Requests\Api\Users
 */
class EmployeesClockRequest extends FormRequest
{
    public function authorize()
    {
        return true;
    }

    public function rules()
    {
        return [
            'lon' => 'required',
            'lat' => 'required',
        ];
    }

    public function messages()
    {
        return [
            'lon.required' => 'lon 错误',
            'lat.required' => 'lat 错误',
        ];
    }
}